{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

<div id="{{ id }}" class="download-platform-lists">
  {%- for cls in ['recommended', 'traditional'] %}
    <ul class="download-platform-list {{ cls }}">
      {% for plat in builds[cls] -%}
        <li class="os_{{ plat.os }}{% if plat.arch %} {{ plat.arch }}{% endif %}">
          <a href="{{ plat.download_link_direct or plat.download_link }}"
            class="download-link"
            data-download-version="{{ plat.os }}"
            data-cta-text="Download Firefox for {{ plat.os_arch_pretty or plat.os_pretty }}"
            data-cta-type="firefox">{{ plat.os_arch_pretty or plat.os_pretty }}</a>
        </li>
      {%- endfor %}
    </ul>
  {%- endfor %}
</div>
